// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, postRequesjson, postRequestimg, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

export const getCompanyOrderInfoByState = (params) => {
    return postRequest('/orderVo/getCompanyOrderInfoByState', params)
}

export const getOrderVoInfo = (params) => {
    return getRequest('/orderVo/getOrderVoInfo', params)
}

export const getPayWallet = (params) => {
    return getRequest('/payAccount/getPayWallet', params)
}

export const userInfoVo = (params) => {
    return getRequest('/userLogin/userInfoVo', params)
}

export const getCompanyOrderMonitorPage = (params) => {
    return postRequest('/orderMonitor/getCompanyOrderMonitorPage', params)
}

export const saveDetails = (params) => {
    return postRequest('/settleDetails/saveDetails', params)
}

export const getMobileTrack = (params) => {
    return getRequest('/orderTrack/getMobileTrack', params)
}




















// 发送修改手机短信验证码
export const sendEditMobileSms = (mobile, params) => {
    return getRequest(`/common/captcha/sendEditMobileSms/${mobile}`, params)
}

//设置支付密码
export const updatepayPassword = (params) => {
    return postRequest('/payAccount/updatepayPassword', params)
}
//设置支付密码获取验证码
export const sendPayPasswordSms = (params) => {
    return getRequest('/common/captcha/sendPayPasswordSms', params)
}
//修改支付密码
export const modifypayPassword = (params) => {
    return postRequest('/payAccount/modifypayPassword', params)
}
//重置支付密码
export const forgetPassword = (params) => {
    return postRequest('/payAccount/forgetPassword', params)
}
//重置支付密码获取验证码
export const sendForgetPasswordSms = (params) => {
    return getRequest('/common/captcha/sendForgetPasswordSms', params)
}
